package com.lsege.service.backstage;

import com.lsege.entity.backstage.Customer;
import com.lsege.mapper.backstage.CustomerMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by lsd on 2017-07-03.
 */
@Service
public class CustomerServiceImpl implements CustomerService{
    @Autowired
    CustomerMapper customerMapper;

    @Override
    public List<Customer> selectCustomer() {
        return customerMapper.selectCustomer();
    }

    @Override
    public Long selectCustomerAll() {
        return customerMapper.selectCustomerAll();
    }
}
